package com.warmheart.entity.resource;


import com.warmheart.base.entity.BaseEntity;
import com.warmheart.builder.resource.ResourceBaseCoBuilder;
import com.warmheart.builder.resource.ResourceBaseRsBuilder;

/**
 * 
 * @ClassName: ResourceBase
 * @Description: 资源实体类，对应表名称为tb_resource_base
 *               温馨提示：不要修改该实体类的任何字段
 * @author ZhangJianyang
 * @date 2025年06月16日 下午15:20:02
 *
 */
public class ResourceBase extends BaseEntity<ResourceBaseCoBuilder, ResourceBaseRsBuilder> {

	private static final long serialVersionUID = 1L;
	
	/**
     * 
     * @Title: tableName
     * @Description: 表名称
     * @author ZhangJianyang
     * @return
     */
    @Override
    public String tableName() {
        return "tb_resource_base";
    }

    public ResourceBaseCoBuilder coBuilder() {
        return new ResourceBaseCoBuilder(this);
    }

    public ResourceBaseRsBuilder rsBuilder() {
        return new ResourceBaseRsBuilder(this);
    }

    /**
     * 资源名称
     */
    private String name;

    /**
     * 资源描述
     */
    private String description;

    /**
     * 
     * @Title: getName
     * @Description: 资源名称getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getName(){
        return name;
    }
    
    /**
     * 
     * @Title: setName
     * @Description: 资源名称setter方法
     * @author ZhangJianyang
     * @param name
     */
    public void setName(String name){
        this.name = name;
    }

    /**
     * 
     * @Title: getDescription
     * @Description: 资源描述getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getDescription(){
        return description;
    }
    
    /**
     * 
     * @Title: setDescription
     * @Description: 资源描述setter方法
     * @author ZhangJianyang
     * @param description
     */
    public void setDescription(String description){
        this.description = description;
    }
}
